package com.zbkj.common.model.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户发票表
 * </p>
 *
 * @author 
 * @since 2024-09-15
 */
@Getter
@Setter
@TableName("pe_user_invoice")
@ApiModel(value = "UserInvoice对象", description = "用户发票表")
public class UserInvoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("发票抬头：1 企业")
    private Integer headType;

    @ApiModelProperty("发票抬头")
    private String headName;

    @ApiModelProperty("发票类型：1 増値税普通发票 2 增值税专用发票")
    private Integer invoiceType;

    @ApiModelProperty("统一社会信用代码")
    private String creditCode;

    @ApiModelProperty("开户银行名称")
    private String bankName;

    @ApiModelProperty("基本开户账号")
    private String basicAccount;

    @ApiModelProperty("注册场所地址")
    private String registeAddr;

    @ApiModelProperty("注册固定电话")
    private String registePhone;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("0:正常 1:已删除")
    private Integer deleteFlag;


}
